﻿using System.Threading.Tasks;
using HiCore.WebApi.Example.DbContexts.DbEntity;

namespace HiCore.WebApi.Example.IRepository
{
    public interface ITestRepository
    {
        Task<int> AddAsync();

        Task<int> UpdateAsync(int id);

        Task<int> RemoveAsync(int id);

        Task<TestTable> GetAsync(int id);
        Task<int> ExecuteAsync(int id);
        Task<int> UpdateRangeAsync(int id);

        Task Transaction(int id);
    }
}
